/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ve.com.cantv.worktables.ejb.session;

import java.util.Date;
import java.util.List;
import javax.ejb.Remote;
import ve.com.cantv.worktables.ejb.entity.Activity;

/**
 *
 * @author Ghust
 */
@Remote
public interface ActivityFacadeRemote {

    Integer create(Activity activity);

    void edit(Activity activity);

    void remove(Activity activity);

    Activity find(Object id);

    List<Activity> findAll();
    
    List<Activity> findByConsult(Date startDate,Date endDate,Integer idCategory);

    List findByConsult(Integer idcategory);

}
